package bb.lanxing.mvp.model.i;

import java.util.List;

import bb.lanxing.model.database.RouteBook;
import bb.lanxing.model.json.RouteBookComment;
import rx.Observable;

public interface IRouteInfoModel {
    Observable<Boolean> deleteRouteComment(long j, long j2);

    Observable<RouteBook> downloadRoute(RouteBook routeBook);

    Observable<String> downloadRoute(long serverId);

    Observable<RouteBook> queryLushu(RouteBook routeBook);

    Observable<List<RouteBookComment>> readCommentsFromCache(RouteBook routeBook);

    Observable<List<RouteBookComment>> requestCommentFromServers(RouteBook routeBook);

    Observable<List<RouteBookComment>> requestCommentFromServers(RouteBook routeBook, int i);

    Observable<RouteBook> requestRouteInfo(RouteBook routeBook);

    Observable<Boolean> routeCollectionControl(long j, int i);
}
